﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AddingEntriesToContextMenu.Properties;
using System.Resources;

namespace AddingEntriesToContextMenu.Forms
{
    public partial class Description : Form
    {
        private ResourceManager resourceManager;

        public Description()
        {
            InitializeComponent();

            resourceManager = new ResourceManager(typeof(Resources));
        }

        private void lbDescription_SelectedIndexChanged(object sender, EventArgs e)
        {
            textBox1.Text = resourceManager.GetString(lbDescription.Text.Replace(' ', '_'));
        }
    }
}
